/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nus.application.ejb.conference;

import com.nus.dataaccess.dao.conference.Conference;
import com.nus.dataaccess.dao.conference.ConferenceAuthor;
import com.nus.dataaccess.dao.conference.ConferenceItem;
import com.nus.dataaccess.scalar.FileUploadScalar;
import java.util.List;
import java.util.Map;
import javax.ejb.Local;

/**
 *
 * @author robin.foe
 */
@Local
public interface ConferenceSubmitEjbLocal {
    
    public List<Conference> paginate(int first, int pageSize, String sortField, boolean ascending, Map<String, Object> filters);
    
    public int getTotalCount(Map<String, Object> filters);
    
    public ConferenceAuthor getConferenceAuthor(Long conferenceId, Long userId);
    
    public void persistConferenceAuthor(ConferenceAuthor conferenceAuthor, List<FileUploadScalar> fileUploadScalar);
    
    public void removeConferenceItem(Long conferenceItemId);
    
    public ConferenceItem getConferenceItem(Long conferenceItemId);
    
}
